3.24.85 \(\int \frac {d+e x}{(a+b x+c x^2)^{3/2}} \, dx\) [2385]

Optimal. Leaf size=45 \[ -\frac {2 (b d-2 a e+(2 c d-b e) x)}{\left (b^2-4 a c\right ) \sqrt {a+b x+c x^2}} \]

[Out]

-2*(b*d-2*a*e+(-b*e+2*c*d)*x)/(-4*a*c+b^2)/(c*x^2+b*x+a)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 45, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.050, Rules used = {650} \begin {gather*} -\frac {2 (-2 a e+x (2 c d-b e)+b d)}{\left (b^2-4 a c\right ) \sqrt {a+b x+c x^2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(d + e*x)/(a + b*x + c*x^2)^(3/2),x]

[Out]

(-2*(b*d - 2*a*e + (2*c*d - b*e)*x))/((b^2 - 4*a*c)*Sqrt[a + b*x + c*x^2])

Rule 650

Int[((d_.) + (e_.)*(x_))/((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(3/2), x_Symbol] :> Simp[-2*((b*d - 2*a*e + (2*c*
d - b*e)*x)/((b^2 - 4*a*c)*Sqrt[a + b*x + c*x^2])), x] /; FreeQ[{a, b, c, d, e}, x] && NeQ[2*c*d - b*e, 0] &&
NeQ[b^2 - 4*a*c, 0]

Rubi steps

\begin {align*} \int \frac {d+e x}{\left (a+b x+c x^2\right )^{3/2}} \, dx &=-\frac {2 (b d-2 a e+(2 c d-b e) x)}{\left (b^2-4 a c\right ) \sqrt {a+b x+c x^2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.36, size = 43, normalized size = 0.96 \begin {gather*} \frac {-2 b d+4 a e-4 c d x+2 b e x}{\left (b^2-4 a c\right ) \sqrt {a+x (b+c x)}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(d + e*x)/(a + b*x + c*x^2)^(3/2),x]

[Out]

(-2*b*d + 4*a*e - 4*c*d*x + 2*b*e*x)/((b^2 - 4*a*c)*Sqrt[a + x*(b + c*x)])

________________________________________________________________________________________

Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(90\) vs. \(2(43)=86\).
time = 0.73, size = 91, normalized size = 2.02

method result size
gosper \(-\frac {2 \left (b e x -2 c d x +2 a e -b d \right )}{\sqrt {c \,x^{2}+b x +a}\, \left (4 a c -b^{2}\right )}\) \(45\)
trager \(-\frac {2 \left (b e x -2 c d x +2 a e -b d \right )}{\sqrt {c \,x^{2}+b x +a}\, \left (4 a c -b^{2}\right )}\) \(45\)
default \(e \left (-\frac {1}{c \sqrt {c \,x^{2}+b x +a}}-\frac {b \left (2 c x +b \right )}{c \left (4 a c -b^{2}\right ) \sqrt {c \,x^{2}+b x +a}}\right )+\frac {2 d \left (2 c x +b \right )}{\left (4 a c -b^{2}\right ) \sqrt {c \,x^{2}+b x +a}}\) \(91\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((e*x+d)/(c*x^2+b*x+a)^(3/2),x,method=_RETURNVERBOSE)

[Out]

e*(-1/c/(c*x^2+b*x+a)^(1/2)-b/c*(2*c*x+b)/(4*a*c-b^2)/(c*x^2+b*x+a)^(1/2))+2*d*(2*c*x+b)/(4*a*c-b^2)/(c*x^2+b*
x+a)^(1/2)

________________________________________________________________________________________

Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x+d)/(c*x^2+b*x+a)^(3/2),x, algorithm="maxima")

[Out]

Exception raised: ValueError >> Computation failed since Maxima requested additional constraints; using the 'a
ssume' command before evaluation *may* help (example of legal syntax is 'assume(4*a*c-b^2>0)', see `assume?` f
or more deta

________________________________________________________________________________________

Fricas [A]
time = 2.95, size = 75, normalized size = 1.67 \begin {gather*} -\frac {2 \, {\left (2 \, c d x + b d - {\left (b x + 2 \, a\right )} e\right )} \sqrt {c x^{2} + b x + a}}{a b^{2} - 4 \, a^{2} c + {\left (b^{2} c - 4 \, a c^{2}\right )} x^{2} + {\left (b^{3} - 4 \, a b c\right )} x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x+d)/(c*x^2+b*x+a)^(3/2),x, algorithm="fricas")

[Out]

-2*(2*c*d*x + b*d - (b*x + 2*a)*e)*sqrt(c*x^2 + b*x + a)/(a*b^2 - 4*a^2*c + (b^2*c - 4*a*c^2)*x^2 + (b^3 - 4*a
*b*c)*x)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {d + e x}{\left (a + b x + c x^{2}\right )^{\frac {3}{2}}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x+d)/(c*x**2+b*x+a)**(3/2),x)

[Out]

Integral((d + e*x)/(a + b*x + c*x**2)**(3/2), x)

________________________________________________________________________________________

Giac [A]
time = 1.43, size = 57, normalized size = 1.27 \begin {gather*} -\frac {2 \, {\left (\frac {{\left (2 \, c d - b e\right )} x}{b^{2} - 4 \, a c} + \frac {b d - 2 \, a e}{b^{2} - 4 \, a c}\right )}}{\sqrt {c x^{2} + b x + a}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x+d)/(c*x^2+b*x+a)^(3/2),x, algorithm="giac")

[Out]

-2*((2*c*d - b*e)*x/(b^2 - 4*a*c) + (b*d - 2*a*e)/(b^2 - 4*a*c))/sqrt(c*x^2 + b*x + a)

________________________________________________________________________________________

Mupad [B]
time = 1.17, size = 45, normalized size = 1.00 \begin {gather*} -\frac {4\,a\,e-2\,b\,d+2\,b\,e\,x-4\,c\,d\,x}{\left (4\,a\,c-b^2\right )\,\sqrt {c\,x^2+b\,x+a}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((d + e*x)/(a + b*x + c*x^2)^(3/2),x)

[Out]

-(4*a*e - 2*b*d + 2*b*e*x - 4*c*d*x)/((4*a*c - b^2)*(a + b*x + c*x^2)^(1/2))

________________________________________________________________________________________